import request from "./request.js"

function sendCode(email) {
	return request.post('/api/sendVerification', {
		params: {
			email: email
		}
	})
}

function emailRegister(params) {
	return request.post('/api/register/mail', {
		params: params
	})
}

module.exports = {
	sendCode,
	emailRegister
}